-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade API to comply with the IPFS Interface specification #146
Conversation
4368de1
to
fa4a433
Compare
fa4a433
to
26d3b23
Compare
@daviddias Please give some feedback on this. |
@Alexander255 reviewing 2700 LOC changed in a codebase that I never looked much is hard. Could you list out what this PR does? Which funcs it implements? Which ones it doesn't implements? Which ones have tests? What's next? And so ? |
@daviddias: Fair enough I guess 🙂 The main point of this PR is changing the way the existing IPFS API is presented to users of the library. For instance, previously
(Not that this will also be released as part of the new Some questions, mainly based on the discussions in https://github.com/ipfs/interface-ipfs-core/issues/284:
Hope this is more useful this time 😊 |
@daviddias: Ping |
@daviddias: Ping again. I see that |
Those changes are part of a bigger revamp of the whole API around files at IPFS. More discussions at:
Lot's of context there ^^
The split is due that in go-ipfs, any command that is below ipfs.files is actually acting on top of the MFS subsystem, while any command related to files on ipfs. is just default baseline commands. There is a proposal to merge both.
It is our experimental platform o make the APIs more ergonomic for JavaScript developers.
This will be reflected soon on interface-ipfs-core too. I recommend following that for the py-ipfs-api. //cc @alanshaw |
@daviddias: Thanks for your response! It looks like I misread the release announcement at ipfs/js-ipfs#1721: JS-IPFS moved the non-MFS file APIs from the Thank you, I'll do it this way then and wait for further developments down the line, when/if the |
See https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC for the (JS) spec we're trying to mimic here. Feedback from the authors of that spec (particularly @daviddias @alanshaw) would be highly appreciated. All of these changes are fully backwards-compatible (note that I didn't even touch any tests!).